package com.sgb.kjwl.model.entity.enterprise;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

public class NeedDetailSignUpEntity implements Serializable {

    @SerializedName("offerSubject")
    private String name;
    @SerializedName("bidAmount")
    private double price;
    @SerializedName("publishType")
    private int usertype;
    @SerializedName("createTime")
    private long creattime;
    @SerializedName("contact")
    private String linkman;
    @SerializedName("contactPhone")
    private String linkphone;
    private int signuptype;
    @SerializedName("address")
    private String addresspath;
    @SerializedName("attachmentUrl")
    private String demandAttachment;
    private String email;
    @SerializedName("quotationNote")
    private String quotationNote;
    private long id;
    private String userAccount;

    // 1 报价中 2中选
    private int status;



    private String userNo;
    private String companyNo;
    private String teamNo;


    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getUserNo() {
        return userNo;
    }

    public void setUserNo(String userNo) {
        this.userNo = userNo;
    }

    public String getCompanyNo() {
        return companyNo;
    }

    public void setCompanyNo(String companyNo) {
        this.companyNo = companyNo;
    }

    public String getTeamNo() {
        return teamNo;
    }

    public void setTeamNo(String teamNo) {
        this.teamNo = teamNo;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount;
    }

    public String getQuotationNote() {
        return quotationNote;
    }

    public void setQuotationNote(String quotationNote) {
        this.quotationNote = quotationNote;
    }

    public int getSignuptype() {
        return signuptype;
    }

    public void setSignuptype(int signuptype) {
        this.signuptype = signuptype;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getUsertype() {
        return usertype;
    }

    public void setUsertype(int usertype) {
        this.usertype = usertype;
    }

    public long getCreattime() {
        return creattime;
    }

    public void setCreattime(long creattime) {
        this.creattime = creattime;
    }

    public String getLinkman() {
        return linkman;
    }

    public void setLinkman(String linkman) {
        this.linkman = linkman;
    }

    public String getLinkphone() {
        return linkphone;
    }

    public void setLinkphone(String linkphone) {
        this.linkphone = linkphone;
    }

    public String getAddresspath() {
        return addresspath;
    }

    public void setAddresspath(String addresspath) {
        this.addresspath = addresspath;
    }

    public String getDemandAttachment() {
        return demandAttachment;
    }

    public void setDemandAttachment(String demandAttachment) {
        this.demandAttachment = demandAttachment;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public NeedDetailSignUpEntity getTestdata(){
        this.creattime=1626058027;
        this.usertype =(int)(0+Math.random()*(2-1+1));
        this.linkman = "王浩";
        this.name = "测试";
        this.linkphone = "13456148975";
        this.price = (int)(-1+Math.random()*(1000-1+1));
        this.signuptype = (int)(Math.random()*(2-1+1));
        this.email = "2264741929@qq.com";
        this.demandAttachment = "{\"name\":\"身份证正面照.jpg\",\"url\":\"https://shigongbang.oss-cn-hangzhou.aliyuncs.com/member_center/610000/2021071881736251532572.jpg\",\"size\":\"179.04kb\",\"type\":\"image/jpeg\"}";
        this.addresspath = "四川省成都市武侯区石羊场街道中海·翠屏湾石羊场街道中海·翠屏湾";
        return this;
    }
}
